package com.rambo.sdh.dao.pojo;


import java.util.ArrayList;
import java.util.Date;
import java.util.List;


public class UserPO  {
	private Integer id;
	private String name;
	private String passwd;
	private String sex;
	private Date birthday;
	private String phone;
	private String photo;
	private String email;
	private String yxbz;
	private String sorts;
	private List<RolePO> rolePOs;
	
	

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public UserPO() {
		rolePOs = new ArrayList<RolePO>();
	}

	public List<RolePO> getRolePOs() {
		return rolePOs;
	}

	public void setRolePOs(List<RolePO> rolePOs) {
		this.rolePOs = rolePOs;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPasswd() {
		return passwd;
	}

	public void setPasswd(String passwd) {
		this.passwd = passwd;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getPhone() {
		return phone;
	}

	@Override
	public String toString() {
		return "UserPO [id=" + id + ", name=" + name + ", passwd=" + passwd
				+ ", sex=" + sex + ", birthday=" + birthday + ", phone="
				+ phone + ", photo=" + photo + ", email=" + email + ", yxbz="
				+ yxbz + ", sorts=" + sorts + "]";
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getPhoto() {
		return photo;
	}

	public void setPhoto(String photo) {
		this.photo = photo;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getYxbz() {
		return yxbz;
	}

	public void setYxbz(String yxbz) {
		this.yxbz = yxbz;
	}

	public String getSorts() {
		return sorts;
	}

	public void setSorts(String sorts) {
		this.sorts = sorts;
	}
}